﻿using Cysharp.Threading.Tasks;
using System;

public static partial class SkillAction // misc 杂项
{
    /// <summary>
    /// 等待
    /// </summary>
    public static UniTask<bool> Wait(SkillBase skill, float seconds)
    {
        return UniTask.Delay(TimeSpan.FromSeconds(seconds), cancellationToken: skill.tokenSournce.Token).SuppressCancellationThrow();
    }
}